package com.itheima.crm.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.itheima.crm.pojo.Application;
import com.itheima.crm.pojo.Meeting;


public interface MeetingDao {
	
	
	

	public Integer MeetingCount(Meeting meeting);

	// 结果集
	public List<Meeting> selectMeetingList(Meeting meeting);

	
	// 通过ID查询
	public Meeting selectMeetingById(Integer id);

	// 修改通过ID
	public void updateMeetingById(Meeting meeting);

	// 通过ID 删除
	public void deleteMeeting(Integer id);

	// 插入
	public void newMeeting(@Param(value="M")Meeting meeting, @Param(value="A")Application application);

	public void joinpeople(@Param("joinpeople")String joinpeople, @Param("id")Integer id);
	
	
	
	/*//通过员工工号查询业务
	public List<Application> selectApplicationByYGid(Integer ygid);
	//通过登录获得的员工工号查询员工个人业务
	public List<Application> selectMyApplication(Application application);
	
	public Integer myApplicationCount(Application application);
	//通过前台收到的用户和密码查询员工工号
	public Integer selectYGidBylogin(@Param("loginname")String loginname,@Param("loginpw")String loginpw);
 
	public List<Application> selectOrganizationApplication(Application application);
	
	public Integer OrganizationApplicationCount(Application application);
	
	public List<Application> selectMyAndOrganization(Application application);
	
	public Integer selectMyAndOrganizationCount(Application application);*/
 }
